AUTOMAKE_OPTIONS=foreign
foo1Dir=../foo1
foo2Dir=../foo2
foo21Dir=../foo2/foo2-1
INCLUDES=-I$(foo1Dir) -I$(foo2Dir) -I$(foo21Dir)
bin_PROGRAMS=test
test_SOURCES=main.c
test_LDADD=-L$(top_srcdir)/foo/.libs \
	-L$(top_srcdir)/foo1/.libs \
	-L$(top_srcdir)/foo2/.libs \
	-L$(top_srcdir)/foo2/foo2-1/.libs \
	$(top_srcdir)/foo1/.libs/libfoo1.dll.a \
	$(top_srcdir)/foo2/.libs/libfoo2.dll.a \
	$(top_srcdir)/foo2/foo2-1/.libs/libfoo21.dll.a